/*
 * cktimer.h -- CKcore on board TIMER support defines.
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * (C) Copyright 2009, Li Chunqiang (chunqiang_li@c-sky.com)
 * (C) Copyright 2004, Kang Sun (sunk@vlsi.zju.edu.cn)
 * (C) Copyright 1999-2003, Greg Ungerer (gerg@snapgear.com)
 * (C) Copyright 2000, Lineo Inc. (www.lineo.com) 
 */
#ifndef	_GX6002_TIMER_H
#define	_GX6002_TIMER_H

/*
 *  Define the Timer Control Register base address.
 */
#define BASE_TIME1    0xe0010000  

#define CONTER_MAX_VALUE  (0XFFFFFF)
#define TIME_DURATION_10MS (10*1000)
#define CLOCK_FREQ_1MHZ (1*1000*1000)
#define SYSBOOT_108MHZ  (132*1000*1000)

#endif	/* _Gx6002_TIMER_H */
